<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>SOPE CoreData Test</title>
  </head>

  <body>
   <#PostForm>
    <table border="0" width="100%">
      <tr>
        <td valign="top" width="30%">
          <fieldset style="height: 400px;">
            <legend><#PostCount/> Posts</legend>
            <#Posts>
              <#IsPostSelected><b><#PostTitle/></b></#IsPostSelected>
              <#IsPostNotSelected>
                <#PostSelectLink><#PostTitle/></#PostSelectLink>
              </#IsPostNotSelected>
              <br />
            </#Posts>
          </fieldset>
          <#AddPost   >add</#AddPost> |
          <#DeletePost>delete</#DeletePost> |
          <#RefetchPosts>reload</#RefetchPosts>
        </td>

        <td valign="top">
          <fieldset style="height: 400px;">
            <legend>Post: <#SelectedPostTitle/></legend>
              <table border="0" width="100%" cellspacing="4">
                <tr>
                  <td width="25%" valign="top">Title</td>
                  <td valign="top">
                    <#TitleEditField/>
                  </td>
                </tr>
                <tr>
                  <td width="25%" valign="top">Author</td>
                  <td valign="top">
                    <#AuthorEditField/>
                  </td>
                </tr>
                <tr>
                  <td width="25%" valign="top">Topic</td>
                  <td valign="top">
                    <#TopicEditField/>
                  </td>
                </tr>

                <tr>
                  <td valign="top" colspan="2">Body</td>
                </tr>
                <tr>
                  <td valign="top" colspan="2">
                    <#BodyEditField/>
                  </td>
                </tr>
                <tr>
                  <td valign="top" colspan="2">
                    <#Submit/>
                  </td>
                </tr>
              </table>
          </fieldset>
        </td>
      </tr>
    </table>

    <#HasChanges>
      <hr />
      <#SaveChanges/>
      <#Rollback/>
      
      <i>
        (<#InsertedCount/> inserted,
         <#UpdatedCount/> updated,
         <#DeletedCount/> deleted)
      </i>
    </#HasChanges>
   </#PostForm>


    <hr />
    <small>
      Ctx: <#Test/><br />
      <#Entities>
        <#Entity/><br />
      </#Entities>
      <br />
      Attr: <#Attr/>
    </small>

    <hr/>
    <address
      ><a href="mailto:helge.hess@opengroupware.org">Helge Hess</a></address>
  </body>
</html>
